﻿<Window x:Class="Ki.Ishtari.LayerEditor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Layer Editor" Width="600" Height="225" FontFamily="Verdana" Background="#FFD4D4FF" FontSize="14" MaxHeight="225">
	<Grid DataContext="{Binding}">
		<GroupBox Margin="8" BorderBrush="Black" Foreground="Black" Header="Edit This Layer:">
			<Grid>
				<TextBlock HorizontalAlignment="Left" Margin="7.999,8,0,0" VerticalAlignment="Top" FontSize="12" TextWrapping="Wrap"><Run Text="Layer:"/></TextBlock>
				<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding Layer, Mode=TwoWay}" Margin="54.706,8,0,0" FontSize="12"/>
				<StackPanel Margin="8">
					<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
						<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Submaps from East To West:" TextWrapping="Wrap" FontSize="12"/>
						<TextBox Width="60" Text="{Binding MapsPerX, Mode=TwoWay}" FontSize="12" MaxLines="1" MaxLength="4"/>
						<TextBlock Text="Total:" TextWrapping="Wrap" Margin="8,0" VerticalAlignment="Center" FontSize="12"/>
						<TextBox Text="{Binding SectionsX, Mode=TwoWay}" FontSize="12" Width="50" IsEnabled="False" MaxLines="1"/>
					</StackPanel>
					<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
						<TextBlock Text="Submaps from South to North:" TextWrapping="Wrap" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="12"/>
						<TextBox Width="60" Text="{Binding MapsPerY, Mode=TwoWay}" FontSize="12" MaxLines="1" MaxLength="4"/>
						<TextBlock Text="Total:" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="12" Margin="8,0"/>
						<TextBox Text="{Binding SectionsY, Mode=TwoWay}" FontSize="12" Width="50" IsEnabled="False" MaxLines="1"/>
					</StackPanel>
					<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
						<TextBlock Text="Fractal Terrain Images:" TextWrapping="Wrap" FontSize="12" VerticalAlignment="Center"/>
						<TextBox Text="{Binding FTOutputLocation, Mode=TwoWay}" FontSize="12" MaxLines="1" Margin="0" Width="220"/>
						<Button x:Name="iBrowse" Width="80" Content="Browse..." FontSize="12"/>
					</StackPanel>
					<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
						<TextBlock Text="Where in the Package:" TextWrapping="Wrap" FontSize="12" VerticalAlignment="Center"/>
						<TextBox Text="{Binding PackageLocation, Mode=TwoWay}" FontSize="12" Width="300" MaxLines="1"/>
					</StackPanel>
					<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
						<TextBlock Text="Web Location (only for websites):" TextWrapping="Wrap" FontSize="12" VerticalAlignment="Center"/>
						<TextBox Text="{Binding WebLocation, Mode=TwoWay}" Width="300" FontSize="12" MaxLines="1"/>
					</StackPanel>
				</StackPanel>
				<Button x:Name="iDone" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="75" Content="Done" Margin="0,0,8,7.999" FontSize="12" IsDefault="True"/>
			</Grid>
		</GroupBox>

	</Grid>
</Window>
